//#include "MainWidget.h"
#include <QtWidgets/QApplication>
#include <iostream>
#include "MainWidget.h"
int main(int argc, char* argv[])
try
{
    QApplication a(argc, argv);
    MainWidget w;
    w.show();
    return a.exec();
}
catch (std::runtime_error& e)
{
    std::cerr << "Error: " << e.what() << std::endl;
    return 1;
}